<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Shopping.Master" Inherits="QianJin.Views.Shopping.UserConfirm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
       <table width="720" border="0" cellspacing="0" cellpadding="0" class="title_bg_3">
        <tr>
            <td height="40" align="center">
                <%=GetString("cu_preview")%>
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td height="20">
                &nbsp;
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0" class="title_bg_2">
        <tr>
            <td align="left">
                &nbsp;&nbsp;<img src="/content/arrow_01.jpg" width="10" height="9" />
                <%=GetString("cu_info")%>
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0" class="table">
        <tr>
            <td width="111" height="40" align="right">
                <strong><%=GetString("cu_name")%></strong>&nbsp;&nbsp;
            </td>
            <td width="609" align="left">
                <%=this.Model.User.Name %>
            </td>
        </tr>
        <tr>
            <td height="40" align="right">
                <strong><%=GetString("cu_email")%></strong>&nbsp;&nbsp;
            </td>
            <td align="left">
                <%=this.Model.User.Email %>
            </td>
        </tr>
        <tr>
            <td height="40" align="right">
                <strong><%=GetString("cu_phone")%></strong>&nbsp;&nbsp;
            </td>
            <td align="left">
                <%=this.Model.User.Phone %>
            </td>
        </tr>
        <tr>
            <td height="40" align="right">
                <strong><%=GetString("cu_address")%></strong>&nbsp;&nbsp;
            </td>
            <td align="left">
                <%=this.Model.User.Address %>
            </td>
        </tr>
        <tr>
            <td height="40" align="right">
                <strong><%=GetString("cu_company")%></strong>&nbsp;&nbsp;
            </td>
            <td align="left">
                <%=this.Model.User.Company %>
            </td>
        </tr>
        <tr>
            <td height="40" align="right" valign="top">
                <strong><%=GetString("cu_comment")%></strong>&nbsp;&nbsp;
            </td>
            <td align="left">
               <textarea readonly=readonly class="table_textarea" cols="63" rows="5"> <%=this.Model.User.Comment %></textarea>
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td height="20">
                &nbsp;
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0" class="title_bg_2">
        <tr>
            <td align="left">
                &nbsp;&nbsp;<img src="/content/arrow_01.jpg" width="10" height="9" />
                <%=GetString("cu_orderInfo")%>
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td height="20">
                &nbsp;
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
        <tr class="list_bg">
            <td width="295" height="28" align="center">
                <%=GetString("cu_prodname")%>
            </td>
            <td width="105" align="center">
                <%=GetString("cu_prodprice")%>
            </td>
        </tr>
        <%foreach (var item in Model.User.ShoppingCart.ShoppingItems)
          { %>
        <tr>
            <td height="28" align="center" bgcolor="#FFFFFF">
                <%=item.Name%>
            </td>
            <td align="center" bgcolor="#FFFFFF">
                <%= item.Price%>
            </td>
        </tr>
        <tr>
            <%} %>
            <td height="28" colspan="5" bgcolor="#FFFFFF">
                <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="51%" align="left">
                            <strong><%=GetString("cu_time")%>&nbsp;</strong><%=DateTime.Now.ToShortDateString() %>
                        </td>
                        <td width="49%" align="right">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td height="30">
                &nbsp;
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0" class="title_bg_3">
        <tr>
            <td height="40" align="right">
                <input type="button" name="button2" class="button" value="<%=GetString("cu_prev")%>" onclick="javascript:window.location.href = '<%=this.Url.Action("ShowFillUserInfo", "Shopping")%>';return false;"/>
                <input type="submit" name="button" class="button" value="<%=GetString("cu_confirm")%>"  onclick="javascript:window.location.href = '<%=this.Url.Action("SendOrderEmail", "Shopping") %>';return false;"/>
            </td>
        </tr>
    </table>
</asp:Content>

